component form given the magnitude and direction